$OpenBSD: patch-pjmedia_src_pjmedia-codec_l16_c,v 1.1 2012/06/05 23:15:23 fgsch Exp $
--- pjmedia/src/pjmedia-codec/l16.c.orig	Tue Jul 19 04:42:28 2011
+++ pjmedia/src/pjmedia-codec/l16.c	Sun Jun  3 04:09:23 2012
@@ -229,6 +229,7 @@ PJ_DEF(pj_status_t) pjmedia_codec_l16_deinit(void)
     l16_factory.endpt = NULL;
 
     /* Destroy mutex. */
+    pj_mutex_unlock(l16_factory.mutex);
     pj_mutex_destroy(l16_factory.mutex);
     l16_factory.mutex = NULL;
 
